package com.frejoys.common.vo.store;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商家端销售记录展示字段
 */
@Data
public class StoreSaleVo {

    // 销售记录ID
    @Schema(type = "Integer", name = "id", description = "销售记录ID", required = true, defaultValue = "1")
    private Integer id;

    // 店铺ID
    @Schema(type = "Integer", name = "storeId", description = "店铺ID", required = true, defaultValue = "1")
    private Integer storeId;

    // 店铺活动ID
    @Schema(type = "Integer", name = "storeActivityId", description = "店铺活动ID", required = true, defaultValue = "1")
    private Integer storeActivityId;

    // 店铺名称
    @Schema(type = "String", name = "storeName", description = "店铺名称", required = true, defaultValue = "1")
    private String storeName;

    // 店铺活动
    @Schema(type = "String", name = "storeActivityName", description = "店铺活动", required = true, defaultValue = "1")
    private String storeActivityName;

    // 订单金额
    @Schema(type = "BigDecimal", name = "price", description = "订单金额", required = true, defaultValue = "1")
    private BigDecimal price;

    // 返利比例
    @Schema(type = "Integer", name = "rebateRatio", description = "返利比例", required = true, defaultValue = "1")
    private Integer rebateRatio;

    // 推广比例
    @Schema(type = "Integer", name = "promotionRatio", description = "推广比例", required = true, defaultValue = "1")
    private Integer promotionRatio;

    // 佣金比例
    @Schema(type = "Integer", name = "commissionRatio", description = "佣金比例", required = true, defaultValue = "1")
    private Integer commissionRatio;

    // 返利金额
    @Schema(type = "BigDecimal", name = "rebateMoney", description = "返利金额", required = true, defaultValue = "1")
    private BigDecimal rebateMoney;

    // 推广金额
    @Schema(type = "BigDecimal", name = "promotionMoney", description = "推广金额", required = true, defaultValue = "1")
    private BigDecimal promotionMoney;

    // 佣金金额
    @Schema(type = "BigDecimal", name = "commissionMoney", description = "佣金金额", required = true, defaultValue = "1")
    private BigDecimal commissionMoney;

    // 店铺收益金额
    @Schema(type = "BigDecimal", name = "money", description = "店铺收益金额", required = true, defaultValue = "1")
    private BigDecimal money;

    // 时间，格式年月日 - 20240401
    @Schema(type = "Integer", name = "ymd", description = "时间，年月日", required = true, defaultValue = "1")
    private Integer ymd;
}
